package com.zhanggm.springboot.springbootdemo05.pojo;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.io.Serializable;
@Data
@Document(indexName = "userindex", type = "user")
public class User implements Serializable {
    private Integer id;
    private String name;
}
